//
//  SearchModel.m
//  A段项目音乐播放
//
//  Created by dllo on 15/5/26.
//  Copyright (c) 2015年 lanou3g.com蓝鸥科技. All rights reserved.
//

#import "SearchModel.h"

@implementation SearchModel

- (void)dealloc
{
    [_singer_name release];
    [_song_name release];
    [super dealloc];
}


- (instancetype)initWithsong_name:(NSString *)song_name singer_name:(NSString *)singer_name
{
    self = [super init];
    if (self) {
        self.song_name = song_name;
        self.singer_name = singer_name;
//        self.album_name = alume_name;
//        self.url = url;
//        self.pic_url = pic_url;
//        self.picUrl = picUrl;
    }
    return self;

}

+ (SearchModel *)modelWithsong_name:(NSString *)song_name singer_name:(NSString *)singer_name
{
    SearchModel *model = [[SearchModel alloc]initWithsong_name:song_name singer_name:singer_name];
    
    return [model autorelease];
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
